﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>会员登录</title>
		<link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.min.css" type="text/css" />

		<script src="${pageContext.request.contextPath}/js/jquery-1.11.3.min.js" type="text/javascript"></script>
		<script src="${pageContext.request.contextPath}/js/bootstrap.min.js" type="text/javascript"></script>
		<!-- 引入自定义css文件 style.css -->
		<link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" type="text/css"/>
        <link href="${pageContext.request.contextPath}/css/drag.css" rel="stylesheet" type="text/css">
        <script src="${pageContext.request.contextPath}/js/drag.js" type="text/javascript"></script>
<%--        <script src="http://www.lanrenzhijia.com/ajaxjs/jquery.min.js"></script>--%>

</head>
<body>
	
	
	
	
			<%@ include file="/jsp/header.jsp" %>

	
	
	
	
	
	
<div class="container"  style="width:100%;height:600px;background: url('${pageContext.request.contextPath}/img/loginbg.jpg') no-repeat;">
<div class="row"> 
	<div class="col-md-7">
		<!--<img src="image/login.jpg" width="500" height="330" alt="会员登录" title="会员登录">-->
	</div>
	
	<div class="col-md-5">
				<div style="width:440px;border:1px solid #E7E7E7;padding:20px 0 20px 30px;border-radius:5px;margin-top:60px;background:#fff;">
				<font>会员登录</font>USER LOGIN
				<div>${msg}</div>
<form class="form-horizontal" id="submit" action="${pageContext.request.contextPath}/UserServlet?method=userLogin" method="post">
  
 <div class="form-group">
    <label for="username" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-6">
      <input type="text" name="username" class="form-control" id="username" placeholder="请输入用户名" required="required">
    </div>
  </div>
   <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
    <div class="col-sm-6">
      <input type="password" name="password" class="form-control" id="inputPassword3" placeholder="请输入密码" required="required">
    </div>
  </div>

    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">验证码</label>
        <div class="col-sm-6">
            <div class="form-group">
            <div class="drag">
                <div class="bg"></div>
                <div class="tte" onselectstart="return false;">请拖动滑块解锁</div>
                <div class="bbt">>></div>
            </div>
        </div>
        </div>
    </div>

<%--    <%@include file="/jsp/slide.jsp" %>--%>
   <%--<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox"> 自动登录
        </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label>
          <input type="checkbox"> 记住用户名
        </label>
      </div>
    </div>
  </div>--%>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
    <input type="button"  width="100" value="登录" id="submitt" onclick="submitForm()" border="0"
    style="background: url('${pageContext.request.contextPath}/img/login.gif') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height:35px;width:100px;color:white;">
    </div>
  </div>
</form>
</div>			
	</div>
</div>
</div>
 <script src="${pageContext.request.contextPath}/js/drag.js" type="text/javascript"></script>
            <%@include file="/jsp/footer.jsp" %>
</body>
</html>